home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / System / DEF / Process / Fades / eventlen < prev    next >
Text File  |  1998-10-23  |  424b  |  10 lines

  1. eventlen
  2.  
  3. Returns the number of active beats in a rhythm string of an instrument in def-section-timesheet. The value can be used to determine the trim length so that the number of elements fit perfectly the rhythmic string.
  4.  
  5. (def-instrument-timesheet ...
  6.    ...
  7.    piano      (pick-random-init rhythm-source2 0.332512) 
  8.               (symbol-trim (eventlen) (gen-random-successive 0.167 16 '(a b c d e -b -c))) with '(64)
  9. )
  10.